#pragma once

int  GetConfMaxCall();
int  GetConfWaitTime();
char *GetConfCallListPath( char * aPathPtr, int aPathLen );
char *GetConfCallOutPath( char * aPathPtr, int aPathLen );
char *GetConfRecordPath( char * aPathPtr, int aPathLen );
char *GetConfAstUser( char * aNamePtr, int aNameLen );
char *GetConfOutChanName( char * aNamePtr, int aNameLen );
void SetConfOutChanName( char * aNamePtr );
void SetConfRecordPath( char * aPathPtr );
void SetConfCallOutPath( char * aPathPtr );
void SetConfCallListPath( char * aPathPtr );
void SetConfAstUser( char * aNamePtr);
void SetConfMaxCall( int aVal );
void SetConfWaitTime( int aVal );
int  WriteConfWithValWithConf( char * aConfFileNamePtr,
                               char * aListPathPtr,
                               char * aCallPathPtr,
                               char * aRecordPathPtr,
                               char * aAstUserPtr,
                               char * aOutChanName,
                               int    aMaxCall);
int  WriteConfWithVal( char * aListPathPtr,
                       char * aCallPathPtr,
                       char * aRecordPathPtr,
                       char * aAstUserPtr,
                       char * aOutChanName,
                       int    aMaxCall);
int  OpenConfFile( char * aConfFileName );
